package com.ponhu.ea2.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.ObjectUtils;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * Erp养护增加货品相关成本
 * </p>
 *
 * @author ${author}
 * @since 2021-10-19
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Erp养护增加货品相关成本-数据传输模型 ")
public class InventoryMaintainCostDto implements Serializable {

    @ApiModelProperty(value = "货品编码", required = true)
    @NotEmpty(message = "货品编码不能为空")
    private String inventoryCode;

    @ApiModelProperty(value = "养护成本", required = true)
    @NotNull(message = "养护成本不能为空")
    private BigDecimal maintainCost;

}